package com.why.pojo;

/**
 * @author new wei
 * @date 2022/5/19 22:13
 */
public enum Sex {
    MAN(0,"男"),WOMAN(1,"女");
    private Integer code;
    private String sex;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    Sex(Integer code, String sex) {
        this.code = code;
        this.sex = sex;
    }
}
